New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

readable-stream-node-to-web

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readable-stream-node-to-web

Converts a node Readable stream to a web ReadableStream

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.8K
decreased by-22.27%
Maintainers
1
Weekly downloads
 
Created
Source

readable-stream-node-to-web Build Status npm

Convert a nodejs Readable stream to a web ReadableStream

Sauce Test Status

var nodeToWebStream = require('readable-stream-node-to-web');

var nodeStream = // Obtain a nodejs Readable stream
var webStream = nodeToWebStream(nodeStream);

nodeStream is a NodeJS Readable stream

webStream is a WhatWG web ReadableStream

This method takes a readable node stream and returns a web stream to reads from given the node stream. This allows the plethora of nodejs modules involving Readable streams to be used in a web context like using a node stream with FetchEvent.respondWith()

This module can be used with bundlers like browserify or webpack. This module is also written in es5 so there is no need for transpilation.

License

MIT. Copyright (c) Austin Middleton.

Keywords

FAQs

Package last updated on 03 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc